<template>
    <el-form-item label="是否换行">
        <el-switch v-model="optionModel.preWrap" />
    </el-form-item>
</template>

<script setup>
defineOptions({
    name:"preWrap-editor"
})

const props = defineProps({
    optionModel:{
        type:Object,
        required:true
    },
    designer:{
        type:Object,
        default:()=>({})
    },
    selectWidget:{
        type:Object,
        default:()=>({}) 
    }
})
</script>

<style lang='scss' scoped></style>